.chat {
  width: 100%;
  height: 100%;
  background-color: black;
}

.padding {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-left: 5px;
  padding-right: 5px;
}

.chatTop {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 70%;
}

.chatFrame {
  height: 100%;
  overflow: auto;
  align-items: flex-start;
  margin-right: 5px;

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #000000;
  }

  /*定义滚动条轨道 内阴影+圆角*/

  &::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #2E477E;;
    border-radius: 10px;
    background-color: #000000;
  }

  /*定义滑块 内阴影+圆角*/

  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #2E477E;;
    background-color: #2E477E;
  }

  .chatFrameContent {
    display: flex;
    justify-content: flex-end;
    height: 15%;
    width: 100%;
    margin-bottom: 10px;
    padding-right: 5px;

    .chatFrameBubble {
      display: flex;
      flex-direction: column;
      margin-right: 10px;

      .span {
        text-align: right;
        width: 100%;
        margin-top: 5px;
        font-size: 12px;
        color: #4f5e65;
      }

      .button {
        margin-top: 5px;
        text-align: left;
        font-size: 14px;
        white-space: pre-line;
        background-color:  #2e477e;
        border: none;
        border-radius: 5px;
        padding: 10px;
      }
    }

    .chatFrameAvatar {
      display: flex;
      align-items: flex-start;
    }
  }

  .chatFrameContentLeft {
    display: flex;
    height: 15%;
    width: 100%;
    margin-bottom: 10px;
    padding-left: 5px;

    .chatFrameBubbleLeft {
      display: flex;
      flex-direction: column;
      margin-left: 10px;

      .spanLeft {
        text-align: left;
        width: 100%;
        margin-top: 5px;
        font-size: 12px;
        color: #4f5e65;
      }

      .buttonLeft {
        margin-top: 5px;
        text-align: right;
        font-size: 14px;
        white-space: pre-line;
      }
    }

    .chatFrameAvatarLeft {
      display: flex;
      align-items: flex-start;
    }
  }

  .imgStyle{
    width: 30px;
    height: 30px;
  }
}

.divider {
  margin: 10px 0;
}

.chatDown {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 30%;
}

.sendButton {
  margin-top: 10px;
  margin-left: auto;
}

.tips {
  font-size: 10px;
  margin-right: 10px;
  color: #4f5e65;
}